﻿using System;
using Microsoft.Xna.Framework;

using Librarinth;

namespace SunwellRenderer.Simulation
{
	public struct SpatialData
	{
		public Matrix World;
	}
	public class SpatialModule : Module<SpatialData>
	{
		protected override void Alloc(ref SpatialData data)
		{
			data.World	= Matrix.Identity;
		}

		protected override void Free(ref SpatialData data)
		{
			data.World	= default(Matrix);
		}
	}
}
